Self-Adjusting Trees

نویسندگان

  • Phuong Hoai Ha
  • Marina Papatriantafilou
  • Philippas Tsigas
چکیده

The reactive diffracting trees are known efficient distributed data structures for supporting synchronization. They not only distribute a set of processes to smaller groups accessing different parts of the memory in a global coordinated manner, but also adjust their size in order to attain efficient performance across different levels of contention. However, the existing reactive adjustment policy of these trees is sensitive to parameters that have to be manually set in an optimal way and be determined after experimentation. Because these parameters depend on the application as well as on the system configuration, determining their optimal values is hard in practice. Moreover, because the reactive diffracting trees expand or shrink one level at a time, the cost of a multi-adjustment phase on a reactive tree can become high. We argue that these two problems are not fundamental, and that it is possible to construct reactive trees that: (i) are selfadjustable with no need of fixing manually any parameter, and (ii) have the ability to expand or shrink many levels at one time. In this paper, we present a new distributed data structure called self-adjusting tree that has the same specifications as the reactive diffracting trees but can expand or shrink many levels in any adjustment step. This feature helps the selfadjusting tree minimize the adjustment time, which affects not only the execution time of the process adjusting the size of the tree but also the latency of all the other processes traversing the tree at the same time. More significantly, the reactive policy of the self-adjusting tree is based on a scheme where both the contention of the tree and the adjustment decisions are computed with no need for the user to estimate any experimental parameter. The self-adjusting trees perform faster than the reactive diffracting trees on the SGI Origin2000, a well-known commercial ccNUMA multiprocessor.

برای دانلود متن کامل این مقاله و بیش از 32 میلیون مقاله دیگر ابتدا ثبت نام کنید

ثبت نام

اگر عضو سایت هستید لطفا وارد حساب کاربری خود شوید

منابع مشابه

An Evaluation of Self-adjusting Binary Search Tree Techniques

Much has been said in praise of self-adjusting data structures, particularly self-adjusting binary search trees. Self-adjusting trees are most suited to skewed key-access distributions as the techniques attempt to place the most commonly accessed keys near the root of the tree. Theoretical bounds on worst-case and amortized performance (i.e. performance over a sequence of operations) have been ...

متن کامل

Optimal Self-adjusting Trees for Dynamic String Data in Secondary Storage

We present a self-adjusting layout scheme for suffix trees in secondary storage that provides optimal number of disk accesses for a sequence of string or substring queries. This has been an open problem since Sleator and Tarjan presented their splaying technique to create self-adjusting binary search trees in 1985. In addition to resolving this open problem, our scheme provides two additional a...

متن کامل

A Randomized Self-Adjusting Binary Search Tree

We present algorithms for a new self-adjusting binary search tree, which we call a shuffle tree. The tree is easy to implement and does not require parent pointers or balancing information to be stored in tree nodes. A maximum of one rotation is probabilistically applied during each traversal, which keeps the cost of balancing activity low. We present tests to compare the performance of shuffle...

متن کامل

Splay Tree

Splay trees are self-adjusting binary search trees which were invented by Sleator and Tarjan [1]. This entry provides executable and verified functional splay trees. The amortized complexity of splay trees is analyzed in the AFP entry Amortized Complexity.

متن کامل

The Self-Organizing Map of Attribute Trees

The standard version of the Self-Organzing Map (Kohonen 1990) applies vector data. This paper explains how attribute trees can be used as the learning medium in the Self-Organizing Map. As a data structure, a tree is an optimal presentation of many hierarchical and dynamical objects appearing in natural phenomena and human activities. The proposed approach is based on introducing a distance met...

متن کامل

ذخیره در منابع من


  با ذخیره ی این منبع در منابع من، دسترسی به آن را برای استفاده های بعدی آسان تر کنید

برای دانلود متن کامل این مقاله و بیش از 32 میلیون مقاله دیگر ابتدا ثبت نام کنید

ثبت نام

اگر عضو سایت هستید لطفا وارد حساب کاربری خود شوید

عنوان ژورنال:

دوره   شماره 

صفحات  -

تاریخ انتشار 2003